Remove some unnecessary code from the vTPM hotplug scripts.
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Thu, 6 Apr 2006 08:40:15 +0000 (09:40 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Thu, 6 Apr 2006 08:40:15 +0000 (09:40 +0100)
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
tools/examples/vtpm-common.sh

index 190f74193a57e999ea120aba7a2c167ce53104f1..7d032a6c1d683dee3e0319749734887cc50233e3 100644 (file)
@@ -261,12 +261,6 @@ function vtpm_create_instance () {
 
        if [ "$REASON" == "create" ]; then
                vtpm_reset $instance
-       elif [ "$REASON" == "resume" ]; then
-               vtpm_setup $instance
-       else
-               #default case for 'now'
-               #vtpm_reset $instance
-               true
        fi
        xenstore_write $XENBUS_PATH/instance $instance
 }